package com.ITD.vo;

public enum ErrorCode {
    ACCOUNT_PWD_NOT_EXIST(20001,"用户名或密码不存在"),
    EXPIRE_TOKEN(20002,"token过期"),
    INSERT_FAIL(40001,"插入数据失败"),
    USER_NO_EXIST(40002,"用户不存在"),
    USER_PASSWORDS_NOT_EXIST(40003,"用户名或密码错误"),;
    private int code;
    private String msg;
    ErrorCode(int code, String msg){
        this.code = code;
        this.msg = msg;
    }
    public int getCode() {
        return code;
    }
    public String getMsg() {
        return msg;
    }

}
